<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/10/26
 * Time: 14:00
 */
namespace app\home\controller;

use think\facade\Cache;

class Test
{
    public function hello($name)
    {
        Cache::set('name',' value');
        echo Cache::get('name');
        return 'hello,' . $name;
    }
}